home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 1 / Amiga Tools.iso / egs-tools / egs_dev-disk / egsdocs / gbmenuselect.doc < prev    next >
Encoding:
Text File  |  1994-06-06  |  1.4 KB  |  56 lines

  1. TABLE OF CONTENTS
  2.  
  3. egb/gbmenuselect.library/EGB_CreateMenuGadget
  4. egb/gbmenuselect.library/EGB_ModifyMenuGadget
  5. egb/gbmenuselect.library/EGB_CreateMenuGadgetegb/gbmenuselect.library/EGB_CreateMenuGadget
  6.  
  7.    NAME
  8.     EGB_CreateMenuGadget -- Create a gadbox menu gadget
  9.  
  10.    SYNOPSIS
  11.     EGB_CreateMenuGadget(con, id, elems)
  12.                          A0   D0  A1
  13.  
  14.     EB_GadBoxPtr EGB_CreateMenuGadget(EB_GadContext, LONG, EB_StrArrayPtr)
  15.  
  16.    FUNCTION
  17.     Creates a gadbox menu gadget. These gadgets offer several possible
  18.     selections. In normal state the actual selection is displayed. If the
  19.     user hits the gadget all possible items pop up like a menu. The user
  20.     can now select the appropriate item. The selection is canceled using
  21.     the right mouse button.
  22.  
  23.    INPUTS
  24.     elems  : An array of strings each representing one choice
  25.  
  26.    RESULT
  27.  
  28.    SEE ALSO
  29.  
  30.  
  31. egb/gbmenuselect.library/EGB_ModifyMenuGadgetegb/gbmenuselect.library/EGB_ModifyMenuGadget
  32.  
  33.    NAME
  34.     EGB_ModifyMenuGadget -- 
  35.  
  36.    SYNOPSIS
  37.     EGB_ModifyMenuGadget(win, gad, sel)
  38.                          A0   A1   D0
  39.  
  40.     void EGB_ModifyMenuGadget(EI_WindowPtr, EI_GadgetPtr, WORD)
  41.  
  42.    FUNCTION
  43.     Sets the actual selection of a menu select gadget to the item with
  44.     the number num.
  45.  
  46.    INPUTS
  47.     win      : Pointer to the gadgets window; if NULL than no refreshing is done
  48.     gad      : A menu select gadget
  49.     num      : The number of the entry to become the new actual selection
  50.  
  51.    RESULT
  52.  
  53.    SEE ALSO
  54.  
  55.  
  56.